﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Scryber.Testing.AllSystemTests._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body{ font-family:Arial, Helvetica, sans-serif;}
        a{ color:black; text-decoration:none;}
        a.visited{color:black;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div style="padding:10px">
            <div style="padding-bottom:4px; margin-bottom:20px;" >
                <asp:Image runat="server" ImageUrl="~/Images/scryber_logo_flat.png" Width="300px" />
            </div>
            <div style="margin-bottom:10px;">
                <h2 style="border-bottom:solid 2px #00ffff; text-align:right">All System Tests</h2>
                <asp:Label runat="server" >The following documents are generated into PDF's to test specific features of the Scryber library.<br /> 
                    The 'All System tests' file includes all other documents as references so covers all features in one document.<br />
                    Each of the files used to generate the pdf's can be found in the App_Data/Samples directory.
                </asp:Label>
            </div>
                <asp:Repeater runat="server" ID="FileList">
                    <ItemTemplate>
                        <table style="border: solid 2px #888; border-radius:5px; padding:5px; width:100%; margin-bottom:4px;" cellpadding="4px">
                            <tr>
                            <td>
                                <asp:LinkButton runat="server" CommandArgument='<%# Eval("FullPath") %>' OnCommand="Page_GeneratePDF">
                                    <asp:Image runat="server" ID="DocumentIcon" ImageUrl="~/Images/Document32.png" />
                                </asp:LinkButton>
                            </td>
                            <td>
                                <asp:LinkButton runat="server" CommandArgument='<%# Eval("FullPath") %>' OnCommand="Page_GeneratePDF">
                                        <asp:Label Font-Size="Large" Font-Bold="true" runat="server" Text='<%# Eval("FileName") %>' />
                                </asp:LinkButton><br />
                                <asp:Label Font-Size="X-Small" runat="server"  Text='<%# Eval("FullPath") %>' />
                            </td>
                                </tr>
                        </table>
                    </ItemTemplate>
                </asp:Repeater>
        </div>
    </form>
</body>
</html>
